<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
                <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- 在何处打开页面中所有的链接。 -->
<base href="<%=basePath%>">
<base target="rightFrame"> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/common1.js"></script>
</head>
<body>
<!-- <form action="frame_right.jsp" method="post" target="rightFrame">
<input type="submit" value="个人信息">
</form> -->
<div class="list-group" style="margin-left:100px;" id="aList">
  <a href="queryUserInfo.do" class="list-group-item active" >个人信息</a>
  <a href="html/lhtml/addUmoney.jsp" class="list-group-item list-group-item-warning" >用户充值</a>
  <a href="html/lhtml/showGoods.jsp" class="list-group-item list-group-item-warning">已发布商品</a>
  <a href="html/lhtml/addGoods.jsp" class="list-group-item list-group-item-warning">发布商品</a>
  <a href="html/lhtml/GoodsOrders.jsp" class="list-group-item list-group-item-warning">已购买过的游戏商品</a>
  <a href="html/lhtml/Inorder.jsp" class="list-group-item list-group-item-warning">已购买过的积分商品</a>
  <a href="html/lhtml/showCollect.jsp" class="list-group-item list-group-item-warning">我的收藏</a>
  <a href="queryBrowseRecords.do" class="list-group-item list-group-item-warning">我的足迹</a>
  <a href="html/manager/addClass.jsp" class="list-group-item list-group-item-warning" v-if="bool">添加所属</a>
</div>
</body>
<script type="text/javascript">
var ifShow=new Vue({
	el:'aList',
	data:{
		bool:false,
	}
});
$(function(){
	var status="${user.status}";
	if(status==2){
		ifShow.bool=true;
	}
});
</script>
</body>
</html>